<!DOCTYPE html><html lang="zh-CN" data-theme="dark"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>在Hexo博客上使用自定义Live2D | elbadaernU</title><meta name="keywords" content="教程,博客,hexo"><meta name="author" content="HK560"><meta name="copyright" content="HK560"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#0d0d0d"><meta name="description" content="放在前面之前看到有很多人用hexo博客左下角右下角总有个live2d，自己也稍微研究了一下，发现用起来还是蛮简单的，作者提供了几个live2d模型的包，但其实我们是可以使用其他的自定义的live2d模型 安装使用live2d，并配置自定义live2d模型 首先安装 hexo-helper-live2d 仓库链接 官方文档写了怎么安装配置了，按照步骤来即可。不同hexo主题应该是不受影响的。  配置">
<meta property="og:type" content="article">
<meta property="og:title" content="在Hexo博客上使用自定义Live2D">
<meta property="og:url" content="https://blog.hk560.top/HowDoesHexoBlogUseLive2D/index.html">
<meta property="og:site_name" content="elbadaernU">
<meta property="og:description" content="放在前面之前看到有很多人用hexo博客左下角右下角总有个live2d，自己也稍微研究了一下，发现用起来还是蛮简单的，作者提供了几个live2d模型的包，但其实我们是可以使用其他的自定义的live2d模型 安装使用live2d，并配置自定义live2d模型 首先安装 hexo-helper-live2d 仓库链接 官方文档写了怎么安装配置了，按照步骤来即可。不同hexo主题应该是不受影响的。  配置">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/Avg_avg_7_1_压缩.jpg">
<meta property="article:published_time" content="2021-12-03T03:02:42.000Z">
<meta property="article:modified_time" content="2022-03-17T10:48:05.833Z">
<meta property="article:author" content="HK560">
<meta property="article:tag" content="教程">
<meta property="article:tag" content="博客">
<meta property="article:tag" content="hexo">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/Avg_avg_7_1_压缩.jpg"><link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/blogLogo.jpg"><link rel="canonical" href="https://blog.hk560.top/HowDoesHexoBlogUseLive2D/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//fonts.googleapis.com" crossorigin=""/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Saira+Semi+Condensed:wght@100&amp;display=swap" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"search.xml","languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":200},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"top-center"},
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
      css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: true,
  islazyload: false,
  isanchor: true
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '在Hexo博客上使用自定义Live2D',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2022-03-17 18:48:05'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
          const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
          const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
          const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified

          if (t === undefined) {
            if (isLightMode) activateLightMode()
            else if (isDarkMode) activateDarkMode()
            else if (isNotSpecified || hasNoSupport) {
              const now = new Date()
              const hour = now.getHours()
              const isNight = hour <= 6 || hour >= 18
              isNight ? activateDarkMode() : activateLightMode()
            }
            window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
              if (saveToLocal.get('theme') === undefined) {
                e.matches ? activateDarkMode() : activateLightMode()
              }
            })
          } else if (t === 'light') activateLightMode()
          else activateDarkMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if (GLOBAL_CONFIG_SITE.isHome && /iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    document.addEventListener('pjax:complete', detectApple)})(window)</script><meta name="generator" content="Hexo 5.4.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/avatar_hk560.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">17</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">17</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">3</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 链接</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-heart"></i><span> 关于</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于本站</span></a></li><li><a class="site-page child" href="/about/HK560/"><i class="fa-fw fas fa-heart"></i><span> ？？？</span></a></li></ul></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/Avg_avg_7_1_压缩.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">elbadaernU</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 链接</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-heart"></i><span> 关于</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于本站</span></a></li><li><a class="site-page child" href="/about/HK560/"><i class="fa-fw fas fa-heart"></i><span> ？？？</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">在Hexo博客上使用自定义Live2D<a class="post-edit-link" href="https://github.com/HK560/hk560.github.io/tree/hexo/source/_posts/HowDoesHexoBlogUseLive2D.md" title="编辑" target="_blank"><i class="fas fa-pencil-alt"></i></a></h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-12-03T03:02:42.000Z" title="发表于 2021-12-03 11:02:42">2021-12-03</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-03-17T10:48:05.833Z" title="更新于 2022-03-17 18:48:05">2022-03-17</time></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">333</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>1分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="在Hexo博客上使用自定义Live2D"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h1 id="放在前面"><a href="#放在前面" class="headerlink" title="放在前面"></a>放在前面</h1><p>之前看到有很多人用hexo博客左下角右下角总有个live2d，自己也稍微研究了一下，发现用起来还是蛮简单的，作者提供了几个live2d模型的包，但其实我们是可以使用其他的自定义的live2d模型</p>
<h1 id="安装使用live2d，并配置自定义live2d模型"><a href="#安装使用live2d，并配置自定义live2d模型" class="headerlink" title="安装使用live2d，并配置自定义live2d模型"></a>安装使用live2d，并配置自定义live2d模型</h1><ol>
<li><p>首先安装 hexo-helper-live2d <a target="_blank" rel="noopener" href="https://github.com/EYHN/hexo-helper-live2d">仓库链接</a> 官方文档写了怎么安装配置了，按照步骤来即可。不同hexo主题应该是不受影响的。</p>
</li>
<li><p>配置模型,官方文档里写了需要在博客根目录创建一个<code>live2d_models</code>模型文件夹，然后你的模型文件要放在一个文件夹内，再把这个文件夹放到<code>live2d_models</code>文件夹下面<br>文件目录示例：<br><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/20211211131148.png" alt="博客根目录"><br><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/20211211131229.png" alt="live2d_models文件夹目录"><br><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/20211211131358.png" alt="hk416child文件夹目录"></p>
</li>
<li><p>使用自定义live2d模型，首先确保你的模型文件是旧版的live2d，新版好像是不兼容的。<br>然后将你的模型json文件改名为<code>XXX.model.json</code>,<code>XXX</code>为模型名字，你可以自己设置自己想要的名字。然后将整个模型文件夹的名字也改为<code>XXX</code> 把这个文件夹放到<code>live2d_models</code>。 要使用这个文件夹就在<code>_config.yml</code>的live2d配置 live2d.model.use 配置为<code>XXX</code> ,就如下图一样<br><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/20211211145937.png" alt="config配置"><br>然后就<code>hexo clean</code> <code>hexo g</code>即可。</p>
</li>
</ol>
</article><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/%E6%95%99%E7%A8%8B/">教程</a><a class="post-meta__tags" href="/tags/%E5%8D%9A%E5%AE%A2/">博客</a><a class="post-meta__tags" href="/tags/hexo/">hexo</a></div><div class="post_share"><div class="social-share" data-image="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/Avg_avg_7_1_压缩.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/CleanCodeReadingNotes/"><img class="prev-cover" src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/Avg_bg_0_am_压缩.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">《代码整洁之道》阅读笔记</div></div></a></div><div class="next-post pull-right"><a href="/bf2042downloadArtbookOST/"><img class="next-cover" src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/Snipaste_2021-11-27_20-13-08.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">战地风云2042艺术设定集原生轨音乐领取下载链接</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/Aida64ForEsp8266/" title="【ESP8266_PCReader】使用ESP8266+OLED监控显示电脑硬件信息"><img class="cover" src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/Avg_bg_abyss_1.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-03-26</div><div class="title">【ESP8266_PCReader】使用ESP8266+OLED监控显示电脑硬件信息</div></div></a></div><div><a href="/FixedvscodeterminalScriptForbiddenToRun/" title="解决vscode终端执行hexo命令提示无法加载文件因为在此系统上禁止运行脚本"><img class="cover" src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/Avg_avg_5_8_sky_压缩.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-11-26</div><div class="title">解决vscode终端执行hexo命令提示无法加载文件因为在此系统上禁止运行脚本</div></div></a></div><div><a href="/HowtoChooseHeadphones/" title="【个人经验】【入门向】如何买到一个属于自己的“好耳机”"><img class="cover" src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/Avg_bg_abyss_1.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-02-06</div><div class="title">【个人经验】【入门向】如何买到一个属于自己的“好耳机”</div></div></a></div><div><a href="/Piexl4Tools/" title="Google Pixel4 玩机教程资源整理收集"><img class="cover" src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/Avg_avg_11_2_压缩.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-10-29</div><div class="title">Google Pixel4 玩机教程资源整理收集</div></div></a></div><div><a href="/bf2042downloadArtbookOST/" title="战地风云2042艺术设定集原生轨音乐领取下载链接"><img class="cover" src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/Snipaste_2021-11-27_20-13-08.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-11-27</div><div class="title">战地风云2042艺术设定集原生轨音乐领取下载链接</div></div></a></div><div><a href="/configurationArduinoEsp8266/" title="为ESP8266安装与配置ArduinoIDE"><img class="cover" src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/Avg_bg_bg_23_G08.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-09-06</div><div class="title">为ESP8266安装与配置ArduinoIDE</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div class="vcomment" id="vcomment"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/avatar_hk560.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">HK560</div><div class="author-info__description">"与光同尘"<br>C++QT爱好者|音乐痴|PCDIYer<br>喜欢研究兴趣项目背后的技术<br>努力学习中！</div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">17</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">17</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">3</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/hk560"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/hk560" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:lan2496846801@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="tencent://message/?uin=2496846801&amp;Site=&amp;Menu=yes" target="_blank" title="QQ"><i class="fab fa-qq"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">无论如何，欢迎来到我的博客。</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%94%BE%E5%9C%A8%E5%89%8D%E9%9D%A2"><span class="toc-number">1.</span> <span class="toc-text">放在前面</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8live2d%EF%BC%8C%E5%B9%B6%E9%85%8D%E7%BD%AE%E8%87%AA%E5%AE%9A%E4%B9%89live2d%E6%A8%A1%E5%9E%8B"><span class="toc-number">2.</span> <span class="toc-text">安装使用live2d，并配置自定义live2d模型</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/ttf2AnimatedSkintutorial/" title="《泰坦陨落2》动态皮肤（VTF）MOD制作教程"><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/Snipaste_2022-03-16_19-14-25.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="《泰坦陨落2》动态皮肤（VTF）MOD制作教程"/></a><div class="content"><a class="title" href="/ttf2AnimatedSkintutorial/" title="《泰坦陨落2》动态皮肤（VTF）MOD制作教程">《泰坦陨落2》动态皮肤（VTF）MOD制作教程</a><time datetime="2022-02-12T11:56:20.000Z" title="发表于 2022-02-12 19:56:20">2022-02-12</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/NorthStarCN-Index/" title="【NorthStarCN】 一个适用于泰坦陨落2的MOD框架"><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/Avg_bg_21_G8_cammunibase.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="【NorthStarCN】 一个适用于泰坦陨落2的MOD框架"/></a><div class="content"><a class="title" href="/NorthStarCN-Index/" title="【NorthStarCN】 一个适用于泰坦陨落2的MOD框架">【NorthStarCN】 一个适用于泰坦陨落2的MOD框架</a><time datetime="2021-12-29T09:24:49.000Z" title="发表于 2021-12-29 17:24:49">2021-12-29</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/CleanCodeReadingNotes/" title="《代码整洁之道》阅读笔记"><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/Avg_bg_0_am_压缩.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="《代码整洁之道》阅读笔记"/></a><div class="content"><a class="title" href="/CleanCodeReadingNotes/" title="《代码整洁之道》阅读笔记">《代码整洁之道》阅读笔记</a><time datetime="2021-12-07T11:49:32.000Z" title="发表于 2021-12-07 19:49:32">2021-12-07</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/HowDoesHexoBlogUseLive2D/" title="在Hexo博客上使用自定义Live2D"><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub/res/pic/Avg_avg_7_1_压缩.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="在Hexo博客上使用自定义Live2D"/></a><div class="content"><a class="title" href="/HowDoesHexoBlogUseLive2D/" title="在Hexo博客上使用自定义Live2D">在Hexo博客上使用自定义Live2D</a><time datetime="2021-12-03T03:02:42.000Z" title="发表于 2021-12-03 11:02:42">2021-12-03</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/bf2042downloadArtbookOST/" title="战地风云2042艺术设定集原生轨音乐领取下载链接"><img src="https://cdn.jsdelivr.net/gh/HK560/MyPicHub@master/res/pic/Snipaste_2021-11-27_20-13-08.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="战地风云2042艺术设定集原生轨音乐领取下载链接"/></a><div class="content"><a class="title" href="/bf2042downloadArtbookOST/" title="战地风云2042艺术设定集原生轨音乐领取下载链接">战地风云2042艺术设定集原生轨音乐领取下载链接</a><time datetime="2021-11-27T12:11:13.000Z" title="发表于 2021-11-27 20:11:13">2021-11-27</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2022 By HK560</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">Great ideals but through selfless struggle and sacrifice to achieve.</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">简</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><div class="search-dialog__title" id="local-search-title">本地搜索</div><div id="local-input-panel"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div></div><hr/><div id="local-search-results"></div><span class="search-close-button"><i class="fas fa-times"></i></span></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>function panguFn () {
  if (typeof pangu === 'object') pangu.autoSpacingPage()
  else {
    getScript('https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js')
      .then(() => {
        pangu.autoSpacingPage()
      })
  }
}

function panguInit () {
  if (false){
    GLOBAL_CONFIG_SITE.isPost && panguFn()
  } else {
    panguFn()
  }
}

document.addEventListener('DOMContentLoaded', panguInit)</script><script src="/js/search/local-search.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"><script>function loadValine () {
  function initValine () {
    const valine = new Valine(Object.assign({
      el: '#vcomment',
      appId: 'YUxPrUWdqW1073YnrUKvLGFd-gzGzoHsz',
      appKey: 'nQKKGTSqQW1k8Kus9J3RKonH',
      placeholder: '这里可以评论唔...',
      avatar: 'monsterid',
      meta: 'nick,mail,link'.split(','),
      pageSize: '10',
      lang: 'zh-CN',
      recordIP: false,
      serverURLs: '',
      emojiCDN: '',
      emojiMaps: "",
      enableQQ: false,
      path: window.location.pathname,
      requiredFields: ["nick,mail"],
      visitor: false
    }, null))
  }

  if (typeof Valine === 'function') initValine() 
  else getScript('https://cdn.jsdelivr.net/npm/valine/dist/Valine.min.js').then(initValine)
}

if ('Valine' === 'Valine' || !false) {
  if (false) btf.loadComment(document.getElementById('vcomment'),loadValine)
  else setTimeout(loadValine, 0)
} else {
  function loadOtherComment () {
    loadValine()
  }
}</script></div><script defer="defer" id="fluttering_ribbon" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-fluttering-ribbon.min.js"></script><script id="canvas_nest" defer="defer" color="255,255,255" opacity="0.7" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-nest.min.js"></script><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/activate-power-mode.min.js"></script><script>POWERMODE.colorful = true;
POWERMODE.shake = false;
POWERMODE.mobile = true;
document.body.addEventListener('input', POWERMODE);
</script><script id="click-show-text" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/click-show-text.min.js" data-mobile="false" data-text="HK560,elbadaernU" data-fontsize="15px" data-random="true" async="async"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/gh/metowolf/MetingJS@1.2/dist/Meting.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors = [
  'title',
  '#config-diff',
  '#body-wrap',
  '#rightside-config-hide',
  '#rightside-config-show',
  '.js-pjax'
]

if (false) {
  pjaxSelectors.unshift('meta[property="og:image"]', 'meta[property="og:title"]', 'meta[property="og:url"]')
}

var pjax = new Pjax({
  elements: 'a:not([target="_blank"])',
  selectors: pjaxSelectors,
  cacheBust: false,
  analytics: false,
  scrollRestoration: false
})

document.addEventListener('pjax:send', function () {

  // removeEventListener scroll 
  window.removeEventListener('scroll', window.tocScrollFn)
  window.removeEventListener('scroll', scrollCollect)

  typeof preloader === 'object' && preloader.initLoading()
  
  if (window.aplayers) {
    for (let i = 0; i < window.aplayers.length; i++) {
      if (!window.aplayers[i].options.fixed) {
        window.aplayers[i].destroy()
      }
    }
  }

  typeof typed === 'object' && typed.destroy()

  //reset readmode
  const $bodyClassList = document.body.classList
  $bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')

})

document.addEventListener('pjax:complete', function () {
  window.refreshFn()

  document.querySelectorAll('script[data-pjax]').forEach(item => {
    const newScript = document.createElement('script')
    const content = item.text || item.textContent || item.innerHTML || ""
    Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
    newScript.appendChild(document.createTextNode(content))
    item.parentNode.replaceChild(newScript, item)
  })

  GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()

  typeof chatBtnFn === 'function' && chatBtnFn()
  typeof panguInit === 'function' && panguInit()

  // google analytics
  typeof gtag === 'function' && gtag('config', '', {'page_path': window.location.pathname});

  // baidu analytics
  typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]);

  typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()

  // Analytics
  if (false) {
    MtaH5.pgv()
  }

  // prismjs
  typeof Prism === 'object' && Prism.highlightAll()

  typeof preloader === 'object' && preloader.endLoading()
})

document.addEventListener('pjax:error', (e) => {
  if (e.request.status === 404) {
    pjax.loadUrl('/404.html')
  }
})</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>